package com.han.jdbc.jpa.bean;

import java.math.BigInteger;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
* @author hanpeng
* @version 创建时间：2020年8月11日 下午9:40:56
* @ClassName 类名称
* @Description 类描述
* @Entity 表示这个类是一个实体类
* @Table  实体类对应的表
* @Entity 和  @Table 这两个注解完成了实体类和表的映射
* 
* 
*/

public class Customer2 {

    private BigInteger custId; //客户的主键

    private String custName;//客户名称

    

    public Customer2() {
		super();
		// TODO Auto-generated constructor stub
	}



	public BigInteger getCustId() {
		return custId;
	}



	public void setCustId(BigInteger custId) {
		this.custId = custId;
	}



	public String getCustName() {
		return custName;
	}



	public void setCustName(String custName) {
		this.custName = custName;
	}



	@Override
	public String toString() {
		return "Customer2 [custId=" + custId + ", custName=" + custName + "]";
	}
    
    

	
}
